import { loadLibFromXre } from '../../../load.js'

const run = async (runtime, ast, node) => {
  if (node.type !== 'ImportDeclaration') return

  await loadLibFromXre(runtime, node.source, node.alias)
}

export default run
